package org.jeecg.modules.procurement.service;

import org.jeecg.modules.procurement.entity.BussMaterialProcurementPlanDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.procurement.vo.BussMaterialProcurementPlanDetailPage;

import java.util.List;

/**
 * @Description: 原料采购计划单明细
 * @Author: jeecg-boot
 * @Date:   2024-06-06
 * @Version: V1.0
 */
public interface IBussMaterialProcurementPlanDetailService extends IService<BussMaterialProcurementPlanDetail> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<BussMaterialProcurementPlanDetail>
	 */
	public List<BussMaterialProcurementPlanDetailPage> selectByMainId(String mainId);

	public List<BussMaterialProcurementPlanDetailPage> selectByApplicationId(String id);

	public List<BussMaterialProcurementPlanDetailPage> selectByApplicationDetailId(List<String> ids);

}
